package generic;

public class Test3 {
    public static void main(String[] args) {
        MethodGeneric methodGeneric = new MethodGeneric();
        methodGeneric.setName("hoan");
        methodGeneric.setName(567);

        MethodGeneric methodGeneric1 = new MethodGeneric();
        String name = methodGeneric1.getName("dokyun");
        Integer name1 = methodGeneric1.getName(123);
        System.out.println(name);
        System.out.println(name1);
    }
}
